import request from '@/utils/request'

// 查询自动生成序列管理列表
export function listProduceSequence(query) {
  return request({
    url: '/systembasic/produceSequence/list',
    method: 'get',
    params: query
  })
}

// 查询自动生成序列管理详细
export function getProduceSequence(rowId) {
  return request({
    url: '/systembasic/produceSequence/' + rowId,
    method: 'get'
  })
}

// 新增自动生成序列管理
export function addProduceSequence(data) {
  return request({
    url: '/systembasic/produceSequence',
    method: 'post',
    data: data
  })
}

// 修改自动生成序列管理
export function updateProduceSequence(data) {
  return request({
    url: '/systembasic/produceSequence',
    method: 'put',
    data: data
  })
}

// 删除自动生成序列管理
export function delProduceSequence(rowId) {
  return request({
    url: '/systembasic/produceSequence/' + rowId,
    method: 'delete'
  })
}

// 导出自动生成序列管理
export function exportProduceSequence(query) {
  return request({
    url: '/systembasic/produceSequence/export',
    method: 'get',
    params: query
  })
}